{% extends 'base.html' %} {% block content %}
{% for post in object_list %}
{% if post.image %} {{ post.title }} {% endif %}

{{ post.title }}

created: {{ post.created_on|date:"N j Y" }} | updated: {{ post.updated_on|timesince }} ago | author: {{ post.author }}
{% for tag in post.tags.all %} {{ tag }} {% endfor %}

{{ post.content|truncatewords:20 }}

Read more ...
{% endfor %}
{% endblock %}